home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compendium Deluxe 2
/
LSD and 17bit Compendium Deluxe - Volume II.iso
/
a
/
asiutils
/
asi-fd3.dms
/
asi-fd3.adf
/
HalfnHalf
/
halfnhalf.e
< prev
Wrap
Text File
|
1994-12-17
|
582b
|
23 lines
OPT OSVERSION=36
OPT STACK=10000
MODULE 'exec/memory'
PROC main()
DEF loca
WriteF('\n\nHalf-n-Half v0.1 PD by C.Randall on Jan 1, 1994.\n')
IF (loca:=AllocMem($100000,MEMF_PUBLIC))=NIL
WriteF(' There is not a large enough memory block available.\n')
WriteF(' Please reboot and try again?\n')
ELSE
^loca:=$464B4500 /* "FKE"+chr$(0) */
AddMemList($FFFF8,MEMF_FAST OR MEMF_PUBLIC OR MEMF_CLEAR,-1,loca+8,loca)
WriteF(' OK. Now your OS thinks there is some FAST memory here.\n')
WriteF(' Remember to REBOOT after usage. (Read the docs.)\n\n')
ENDIF
ENDPROC